package com.last1mile.pojo;

import java.util.Date;

import com.last1mile.commons.ReserveStatusEnum;

public class ServeReserveDO {

    private Integer id;
    private Date    gmtCreated;
    private Date    gmtModified;
    private Integer merId;
    private Integer merServeId;
    private Integer perId;
    private Date beginTime;
    private Date endTime;
    private String note;
    private String status;
    private boolean allDay;
    
    public boolean getAllDay() {
        return allDay;
    }

    
    public void setAllDay(boolean allDay) {
        this.allDay = allDay;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getGmtCreated() {
        return gmtCreated;
    }

    public void setGmtCreated(Date gmtCreated) {
        this.gmtCreated = gmtCreated;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    
    
    public Integer getMerId() {
		return merId;
	}


	public void setMerId(Integer merId) {
		this.merId = merId;
	}


	public Integer getMerServeId() {
        return merServeId;
    }

    
    public void setMerServeId(Integer merServeId) {
        this.merServeId = merServeId;
    }

    
    public Integer getPerId() {
        return perId;
    }

    
    public void setPerId(Integer perId) {
        this.perId = perId;
    }

    
    public Date getBeginTime() {
        return beginTime;
    }

    
    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    
    public Date getEndTime() {
        return endTime;
    }

    
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    
    public String getNote() {
        return note;
    }

    
    public void setNote(String note) {
        this.note = note;
    }

    
    public String getStatus() {
        return status;
    }

    
    public void setStatus(String status) {
        this.status = status;
    }
    
    public String getStatusLabelKey(){
    	return ReserveStatusEnum.getByValue(getStatus()).getLabelKey();
    }
}
